package club.banyuan.inter.Demo;

/**
 * @author edz
 * @version 1.0
 * @date 2020/11/25 上午10:38
 */
public class InterimplSon extends InterimplFu {
    public InterimplSon() {
        System.out.println("子类无参被调用");
    }
    @Override
    public void method1() {
        System.out.println("调用接口1");
    }
    @Override
    public void method2() {
        System.out.println("调用接口2");
    }
    @Override
    public void method3() {
        System.out.println("重写父类m3");
    }

    public void method4(){
        System.out.println("子类独有");
    }
}
